//
//  WorkBenchModel.m
//  SAP
//
//  Created by 中矿科技有限公司 on 2017/11/10.
//  Copyright © 2017年 中矿科技有限公司. All rights reserved.
//

#import "WorkBenchModel.h"
#import "MJRefresh.h"


@implementation WorkBenchModel

-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

+ (NSDictionary *)mj_objectClassInArray
{
    return @{
             @"yearVarietyContractCount" : @"VarietyTransferModel",
             @"yearVarietyTransferCount" : @"VarietyTransferModel",
             @"monthVarietyContractCount" : @"VarietyTransferModel",
             @"monthVarietyTransferCount" : @"VarietyTransferModel",
             };
}

+ (WorkBenchModel *)modelsFromJsonData:(NSData *)data{
    NSDictionary *dict =[NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingMutableContainers error:nil];
    WorkBenchModel *model =[[WorkBenchModel alloc]init];
    model =[WorkBenchModel mj_objectWithKeyValues:dict[@"result"]];
    return model;
}
@end

@implementation VarietyTransferModel

@end
